using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PACKETPARSERMAX20.CORE;

namespace PACKETPARSERMAX20.CORE.DEFINITIONS
{
    public class MSG_BATTLEGROUND_PLAYER_POSITIONS_DEF : DefinitionBase
    {

        public override bool Process()
        {
            return true; //IGNORED
            ResetPosition();

            if (Direction == 1)
            {
                UInt32 alliance = ReadUInt32();                                     // alliance flag holders count

                UInt32 hord = ReadUInt32();                                     // horde flag holders count

                if (alliance > 0)
                {
                    UInt64 allianceGuid = ReadUInt64();
                    float allianceX = ReadSingle();
                    float allianceY = ReadSingle();
                }

                if (hord > 0)
                {
                    UInt64 hordGuid = ReadUInt64();
                    float hordX = ReadSingle();
                    float hordY = ReadSingle();
                }
            }

            return Validate();
        }
    }
}

